package com.acc.dao;

import java.util.List;

import com.acc.entity.Admin;
/**
 * 
 * @author 朱春阳
 *
 */
public interface AdminDAO {

	//获取所有的admin
	public List<Admin> getAllAdmins();
	
	//分页获取admin
	public List<Admin> getPageAdmins(Integer max, Integer min);
	
	//删除指定admin_id的admin
	public Integer deleteAdmin(Integer admin_id);
	
	//增加一条记录
	public Integer addAdmin(String roleName, String password);
}
